# 
# Created with PyCharm.
# Description :
# User: jiume
# Date: 2024-10-09
# Time: 19:43
#

# # 顺序执行
# a = 10
# b = 20
# print(a)
# print(b)

# # 选择结构
# n = eval(input('请输入你要判断的数字：'))
# if n % 2:
#     print(n,'是奇数')
# else :
#     print(n, '是偶数')

# n = eval(input('请输入Python的考试成绩：'))
# if n >= 90:
#     print('牛，不要学了，快去吃饭吧！')
# elif 70 <= n < 90: # 这种写法也是Python中特有的
#     if 70 <= n <= 80:
#         print('继续加油！')
#     else :
#         print('你也要多吃饭！')
# else:
#     print('多学习！')

# n = eval(input('请输入Python的考试成绩'))
# if n >= 90:
#     print('牛，不要学了，快去吃饭吧！')
# else :
#     if 70 <= n < 90:
#         print('继续加油！')
#     else:
#         print('多学习！')

admin = '我要学编程'
# password = '123456'
# user = input('请输入用户名：')
# code = input('请输入密码：')
# if user == admin and password == code :
#     print('成功登入！')
# else :
#     print('登入失败！')

# n = eval(input('请输入你的答案：'))
# match n:
#     case 0:
#         print('晚餐多加个蛋！')
#     case 1:
#         print('晚餐多加个鸡腿！')
#     case 2:
#         print('快乐加倍！晚餐吃大餐')

# for i in '我要学编程':
#     print(i,end=' ')

# for i in '我要学编程':
#     print(i,end=' ')